package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesEquipmentRepairDTO;
import com.hunttown.mes.rpc.domain.query.MesEquipmentRepairDTOQuery;

/**
 * created by wangjunfu on 2022-03-30 15:26:15
 */
public interface MesEquipmentRepairRpcService {

    MesEquipmentRepairDTO insert(MesEquipmentRepairDTO mesEquipmentRepairDTO);

    Boolean updateInfoById(MesEquipmentRepairDTO mesEquipmentRepairDTO);

    Boolean updateInfoByQuery(MesEquipmentRepairDTOQuery mesEquipmentRepairDTOQuery);

    MesEquipmentRepairDTO selectById(Integer id);

    MesEquipmentRepairDTO selectObjByQuery(MesEquipmentRepairDTOQuery mesEquipmentRepairDTOQuery);

    Page<MesEquipmentRepairDTO> getListForPage(MesEquipmentRepairDTOQuery mesEquipmentRepairDTOQuery);

    Boolean deleteById(Integer id);
}